package com.xinchuang.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 选模表主表
 * </p>
 *
 * @author baomidou
 * @since 2023-11-01
 */
@TableName("t_mold_selection")
@ApiModel(value = "MoldSelection对象", description = "选模表主表")
public class MoldSelection implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("选模表Id")
    @TableId("mold_selection_id")
    private String moldSelectionId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("零件厂Id（量产地）")
    private String partsStorageBinId;

    @ApiModelProperty("零件厂名称（量产地名称）")
    private String partsStorageBinName;

    @ApiModelProperty("客户 （主机厂Id）")
    private String mainEnginePlantId;

    @ApiModelProperty("主机厂名称")
    private String mainEnginePlantName;

    @ApiModelProperty("模具套数")
    private String setNumOfMold;

    @ApiModelProperty("客户项目经理")
    private String customerManager;

    @ApiModelProperty("日期")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate date;

    @ApiModelProperty("0：未提交 1：已提交 2：已审核 3：审核已驳回")
    private String status;

    @ApiModelProperty("创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("承制单位")
    private String maker;

    @ApiModelProperty("审核")
    @JSONField(name = "checkoutName")
    private String auditor;

    @ApiModelProperty("批准")
    private String approver;

    @ApiModelProperty("备用参数1")
    private String param1;

    @ApiModelProperty("备用参数2")
    private String param2;

    @ApiModelProperty("备用参数3")
    private String param3;

    @ApiModelProperty("备用参数4")
    private String param4;

    @ApiModelProperty("备用参数5")
    private String param5;

    @ApiModelProperty("备用参数6")
    private String param6;

    @ApiModelProperty("备用参数7")
    private String param7;

    @ApiModelProperty("备用参数8")
    private String param8;

    @ApiModelProperty("备用参数9")
    private String param9;

    public MoldSelection(String status){
        this.status = status;
    }

    public MoldSelection() {

    }

    public String getMoldSelectionId() {
        return moldSelectionId;
    }

    public void setMoldSelectionId(String moldSelectionId) {
        this.moldSelectionId = moldSelectionId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getPartsStorageBinId() {
        return partsStorageBinId;
    }

    public void setPartsStorageBinId(String partsStorageBinId) {
        this.partsStorageBinId = partsStorageBinId;
    }

    public String getPartsStorageBinName() {
        return partsStorageBinName;
    }

    public void setPartsStorageBinName(String partsStorageBinName) {
        this.partsStorageBinName = partsStorageBinName;
    }

    public String getMainEnginePlantId() {
        return mainEnginePlantId;
    }

    public void setMainEnginePlantId(String mainEnginePlantId) {
        this.mainEnginePlantId = mainEnginePlantId;
    }

    public String getMainEnginePlantName() {
        return mainEnginePlantName;
    }

    public void setMainEnginePlantName(String mainEnginePlantName) {
        this.mainEnginePlantName = mainEnginePlantName;
    }

    public String getSetNumOfMold() {
        return setNumOfMold;
    }

    public void setSetNumOfMold(String setNumOfMold) {
        this.setNumOfMold = setNumOfMold;
    }

    public String getCustomerManager() {
        return customerManager;
    }

    public void setCustomerManager(String customerManager) {
        this.customerManager = customerManager;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getMaker() {
        return maker;
    }

    public void setMaker(String maker) {
        this.maker = maker;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    public String getParam1() {
        return param1;
    }

    public void setParam1(String param1) {
        this.param1 = param1;
    }

    public String getParam2() {
        return param2;
    }

    public void setParam2(String param2) {
        this.param2 = param2;
    }

    public String getParam3() {
        return param3;
    }

    public void setParam3(String param3) {
        this.param3 = param3;
    }

    public String getParam4() {
        return param4;
    }

    public void setParam4(String param4) {
        this.param4 = param4;
    }

    public String getParam5() {
        return param5;
    }

    public void setParam5(String param5) {
        this.param5 = param5;
    }

    public String getParam6() {
        return param6;
    }

    public void setParam6(String param6) {
        this.param6 = param6;
    }

    public String getParam7() {
        return param7;
    }

    public void setParam7(String param7) {
        this.param7 = param7;
    }

    public String getParam8() {
        return param8;
    }

    public void setParam8(String param8) {
        this.param8 = param8;
    }

    public String getParam9() {
        return param9;
    }

    public void setParam9(String param9) {
        this.param9 = param9;
    }

    @Override
    public String toString() {
        return "MoldSelection{" +
            "moldSelectionId = " + moldSelectionId +
            ", projectName = " + projectName +
            ", partsStorageBinId = " + partsStorageBinId +
            ", partsStorageBinName = " + partsStorageBinName +
            ", mainEnginePlantId = " + mainEnginePlantId +
            ", mainEnginePlantName = " + mainEnginePlantName +
            ", setNumOfMold = " + setNumOfMold +
            ", customerManager = " + customerManager +
            ", date = " + date +
            ", status = " + status +
            ", createTime = " + createTime +
            ", createBy = " + createBy +
            ", maker = " + maker +
            ", auditor = " + auditor +
            ", approver = " + approver +
            ", param1 = " + param1 +
            ", param2 = " + param2 +
            ", param3 = " + param3 +
            ", param4 = " + param4 +
            ", param5 = " + param5 +
            ", param6 = " + param6 +
            ", param7 = " + param7 +
            ", param8 = " + param8 +
            ", param9 = " + param9 +
        "}";
    }
}
